package cn.gray.gae.job.daily.shared.domain;

import java.sql.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * @author teawooo <long1795@gmail.com>
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AccountDomain {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private String email;

	@Persistent
	private String scop;

	@Persistent
	private String account;

	@Persistent
	private String pwd;

	@Persistent
	private int adViewedCnt;

	@Persistent
	private String balance;

	@Persistent
	private String btcAddres;

	@Persistent
	private String status;

	@Persistent
	private Date createDate;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the scop
	 */
	public String getScop() {
		return scop;
	}

	/**
	 * @param scop the scop to set
	 */
	public void setScop(String scop) {
		this.scop = scop;
	}

	/**
	 * @return the account
	 */
	public String getAccount() {
		return account;
	}

	/**
	 * @param account the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}

	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	/**
	 * @return the adViewedCnt
	 */
	public int getAdViewedCnt() {
		return adViewedCnt;
	}

	/**
	 * @param adViewedCnt the adViewedCnt to set
	 */
	public void setAdViewedCnt(int adViewedCnt) {
		this.adViewedCnt = adViewedCnt;
	}

	/**
	 * @return the balance
	 */
	public String getBalance() {
		return balance;
	}

	/**
	 * @param balance the balance to set
	 */
	public void setBalance(String balance) {
		this.balance = balance;
	}

	/**
	 * @return the btcAddres
	 */
	public String getBtcAddres() {
		return btcAddres;
	}

	/**
	 * @param btcAddres the btcAddres to set
	 */
	public void setBtcAddres(String btcAddres) {
		this.btcAddres = btcAddres;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the createDate
	 */
	public Date getCreateDate() {
		return createDate;
	}

	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
